package com.ease.concurrent.thread.local;

/**
 * @author: chenhs
 * @date: Created in 15:08 2020/3/15
 **/
public class ThreadLocalTest {

    private static ThreadLocal<String> threadLocal = new ThreadLocal<>();

    public static void main(String[] args) {
        threadLocal.set("mrbird");
        System.out.println(threadLocal.get());
        threadLocal.remove();
        System.out.println(threadLocal.get());
    }

}
